package org.stone926.airschool.bean;

import org.springframework.stereotype.Component;

@Component
public class Course {
	private Integer cid;
	private String cName;
	private Teacher teacher;

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	@Override
	public String toString() {
		return "Course [cid=" + cid + ", cName=" + cName + ", teacher=" + teacher + "]";
	}

}
